﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Warehousies
{
    /// <summary>
    /// 仓库巷道
    /// </summary>
    [SugarTable("lanewaymodel", TableDescription = "仓库巷道")]
    public class Lanewaymodel:BaseEntity
    {
        /// <summary>
        /// 巷道编号
        /// </summary>
        public string Lanewaycode { get; set; }

        /// <summary>
        /// 巷道名称
        /// </summary>
        public string Lanewayname { get; set; }

        /// <summary>
        /// 所属仓库
        /// </summary>
        public long Warehouseid { get; set; }

        /// <summary>
        /// 巷道状态 维护中  被占用  空闲中  
        /// </summary>
        public Tunnelcondition Lanewaystate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
    }
    /// <summary>
    /// 巷道状态
    /// </summary>
    public enum Tunnelcondition
    {
        维护中,
        被占用,
        空闲中,
    }
}
